{extend name="$index_style_layout" /}
{block name="head_mui_css"}<!--不使用mui-->{/block}
{block name="head_title"}用户登录{/block}
{block name="nav"}
<div class="qb_ui_Site_nav">
	<ul>
		<ol><i class="si si-home"></i>当前位置 ：</ol>
		<li>
			<a href='/' class="home">网站首页</a> <a href='#'>用户登录</a>
		</li>
	</ul>
</div>
{/block}
{block name="body_content"}
<link rel="stylesheet" href="__STATIC__/index/default/wxlogin.css"> 
<div class="UserLoginCont">
	<div class="head"><i class="si si-lock-open"></i> 用户登录</div>
	<div class="LoginCont">	
		<div class="Left">
			<ul>
				<ol><span>推荐</span><em>微信扫一扫自动注册登录</em></ol>
				<li><img src="{:purl('login/scan/qrcode',['type'=>'wx'])}"/></li>
			</ul>
		</div>
		<div class="Right">
			<dl>
				<dt>您也可以选择手动注册</dt>
				<dd>没有帐号？点击下面按钮马上注册</dd>
			</dl>
			<div><a href="{:urls('index/reg/index')}">马上注册</a></div>
		</div>
	</div>
</div>

<script type="text/javascript">

function countSecond(){　
	$.get("{:purl('login/scan/cklogin')}?"+Math.random(), function(data){
		if(data=='ok'){
			window.location.href="{:purl('login/scan/cklogin')}?type=success";
		}else{
			setTimeout("countSecond()",2000);
		}
	});	
}
countSecond()

</script>

{/block}